package fctuc.dei.myTwitter.server;

import java.nio.channels.SocketChannel;

import fctuc.dei.myTwitter.com.Connection;
import fctuc.dei.myTwitter.com.MessageHandler;
import fctuc.dei.myTwitter.pojo.User;

public abstract class UserConnection extends Connection {
    
	public User user = null;
	private SocketChannel socketChannel;

    public UserConnection(MessageHandler mh) {
        super(mh);
    }
    
    public void setSocketChannel(SocketChannel sc){
    	this.socketChannel = sc;
    }
    
    public SocketChannel getSocketChannel(){
    	return this.socketChannel;
    }
}
